<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar">HELP</span>
                <span class="icon-bar">REGEL2</span>
                <span class="icon-bar">WTF</span>
            </button>
            <a class="navbar-brand" href="#">Narrowcast</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="active"><a href="/">Home</a></li>
                <li><a href="../run.php">Run it</a></li>
            </ul>
            <ul class="nav navbar-master navbar-nav navbar-right">
                <li><p class="navbar-text">Gebruiker:</p></li>
                <li class='dropdown'>
                    <a href='#' class='dropdown-toggle' data-toggle='dropdown'><i class='fa fa-user'></i> <?=$loggedInUser->displayname?> (<?=$loggedInUser->username?>) <b class='caret'></b></a>
                    <ul class='dropdown-menu'>
                        <li class='navitem-'><a href='../account/account_settings.php'><i class='fa fa-gear'></i> Account Settings</a></li>
                        <li class='navitem-'><a href='../account/logout.php'><i class='fa fa-power-off'></i> Log Out</a></li>
                    </ul>
                </li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>